package com.hotel.user.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * --- 年薪百万 ---
 * ---So easy---
 *
 * @author ZhiHuiJun
 * @motto 学习都是人上人
 * @desc 就是很帅很优秀
 * @CC 每天漂亮、幸福、快乐、自由
 */
@Data
@NoArgsConstructor
public class ResponseDTO<T>{
    private int code;
    private String message;
    private T data;

    public ResponseDTO(int code, String message, T data) {
        this.code = code;
        this.message = message;
        this.data = data;
    }
}
